package com.zhou.provider;

import com.zhou.provider.controller.TestController;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author zkb
 * @date 2018-12-05
 *
 */
@SpringBootApplication
@MapperScan("com.zhou.provider.mapper.**")
@EnableCaching
@EnableEurekaClient
public class ProviderEhCacheApplication {

	private static final org.slf4j.Logger logger = LoggerFactory.getLogger(ProviderEhCacheApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(ProviderEhCacheApplication.class, args);
		logger.info("【【【【【【 Provider微服务 】】】】】】已启动.");
	}
}

